package com.etung.iot.demo.modles;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * 上报网关数据
 */

@Data
@Accessors(chain = true)
@TableName("iot_box_gateway")
public class GateWayInfo {
    @TableId(type= IdType.AUTO)
    private Long id;
    private String imei;
    private String simcard;
    private String modnet;
    @TableField("modify_time")
    private String modifyTime;
    private String phonenumber;
    private String version;
    private String platform;
    private String quality;
    private Date time;
    private String name;

}
